var app = getApp();

Component({
  /**
   * 组件的属性列表
   */
  properties: {
    desc: String,
  },
  data:{
    desc:"",
    desc_width: ""
  },
  lifetimes: {
    attached() {
      this.dataInit();

    },
  },
  methods:{
    dataInit() {
      this.setData({
        desc: this.properties.desc,
      })
    },
  }
})